#include<iostream>
#include<cmath>
using namespace std;
int main(){
    double n;
    cin>>n;
    cout<<(int)pow(2,n);
}